package com.lanchetech.dao;

import com.lanchetech.bean.request.PageReq;import com.lanchetech.bean.response.CoinProductResp;import com.lanchetech.entity.CoinProduct;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface CoinProductMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CoinProduct record);

    int insertSelective(CoinProduct record);

    CoinProduct selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CoinProduct record);

    int updateByPrimaryKey(CoinProduct record);

    List<CoinProductResp> findAllPage(PageReq req);

    int updateDeletedById(@Param("updatedDeleted") Byte updatedDeleted, @Param("id") Long id);

    List<CoinProduct> findAllByIds(@Param("ids")List<Long> ids);
}